import Vue from 'vue'
import App from './App.vue'
import VueRouter from "vue-router";
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import Vuex from 'vuex'
import store from './store'
import axios from './utils/http'
import axios2 from './utils/http2'
import './assets/css/style.css'
import './utils/directive'
import '@/assets/css/font.css'
import FileSaver from 'file-saver'
import XLSX from 'xlsx'
import {npms} from './data/const'
import {VueSpinners} from '@saeris/vue-spinners'
import Descriptions from './components/Descriptions'

Vue.prototype.$FileSaver = FileSaver; //设置全局
Vue.prototype.$XLSX = XLSX; //设置全局

Vue.prototype.$axios2 = axios2
Vue.prototype.$axios = axios
Vue.prototype.$npms = npms

Vue.use(Descriptions)
Vue.use(VueRouter);
Vue.use(ElementUI);
Vue.use(Vuex)
Vue.use(VueSpinners)
Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App),
}).$mount('#app')

